﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OprrecordDetail.aspx.cs" Inherits="OprrecordDetail" %>

<%@ Register Src="head.ascx" TagName="Head" TagPrefix="uc1" %>
<%@ Register Src="timer.ascx" TagName="Head" TagPrefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>服务器操作记录工具</title>
     <script type="text/javascript" language="javascript" src="calendar.js"></script>
      <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div style="vertical-align: middle; text-align: center">
    <form id="form1" runat="server">
      <table width="100%" border="0">
      <tr>
       <td style="height: 53px">
        <uc1:Head ID="Head2" runat="server" />
    </td>
       </tr>
  <tr>
    <td style="font-size: 15px">
        <table id="tblLog" style="width: 626px"  runat="server" border="1" cellpadding="0" cellspacing="0" >
            <tr>
                <td colspan="2">
                    <asp:Label ID="lblName" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 136px">
                    流程名称：</td>
                <td align="left" style="width: 338px">
                <%=flowname%>
                    &nbsp;</td>
            </tr>
             <tr>
                <td style="width: 136px; height: 11px;">
                    实际开始时间：</td>
                <td align="left" style="width: 338px; height: 11px;">
                    &nbsp;<%= work.Start_time%>
                </td>
            </tr>
            <tr>
                <td style="width: 136px; height: 15px;">
                    实际结束时间：</td>
                <td align="left" style="width: 338px; height: 15px;">
                    &nbsp;<%= work.End_time%>
                </td>
            </tr>
            <tr>
                <td style="width: 136px">
                    TAG或版本名称：</td>
                <td align="left" style="width: 338px">
                    &nbsp;<%= work.Tag_name%>
                    </td>
            </tr>
            <tr>
                <td style="width: 136px">
                    操作类型：</td>
                <td align="left" style="width: 338px">
                    &nbsp;<% if (work.Result_type== "0")
                             {%>
             日常web发布
             <%}
               else if (work.Result_type == "1")
               { %>
             日常维护
             <%}
               else if (work.Result_type == "2")
               { %>
            紧急发布
             <%} %>
            </td>
            </tr>
            <tr>
                <td style="width: 136px; height: 24px;">
                    操作结果类别：</td>
                <td align="left" style="width: 338px; height: 24px;">
                    &nbsp;<% if (work.Process_type == 0)
                             {%>
             无意外
             <%}
               else if (work.Process_type == 1)
               { %>
             失败回滚
             <%}
               else if (work.Process_type == 2)
               { %>
            服务器5分钟故障
             <%} %>
             <%
               else if (work.Process_type == 3)
               { %>
            服务器半小时故障
             <%} else if (work.Process_type == 4) { %>
             
             服务器一小时故障
             <%} %></td>
            </tr>
            <tr>
                <td style="width: 136px">
                    操作人：</td>
                <td align="left" style="width: 338px">
                    &nbsp;<%= username%>
                    </td>
            </tr>
            <tr>
                <td style="width: 136px; height: 40px;">
                    更新文件列表：</td>
                <td align="left" style="width: 338px; height: 40px;"><%= files %></td>
            </tr>
            <tr>
                <td style="width: 136px; height: 77px">
                    过程意外说明：</td>
                <td align="left" style="width: 338px; height: 77px;">
                  <%= work.Process_description %>
                    </td>
            </tr>
            <tr>
                <td style="width: 136px; height: 77px">
                   故障及解决方法：</td>
                <td align="left" style="width: 338px; height: 77px;">
                <%= work.Fault %>
                    </td>
            </tr>
             <tr>
               <td colspan="2" bgcolor="#CCCCCC"><strong>产口信息</strong></td>
            </tr>
            <tr>
                <td style="width: 136px; height: 7px;">
                    产品名称：</td>
                <td align="left" style="width: 347px; height: 7px;">
                    &nbsp;<%= work.Production_name %></td>
            </tr>
            <tr>
                <td style="height: 21px; width:136px;">
                     项目经理：</td>
                <td align="left" style="width: 347px;">
                    &nbsp;<%=work.Pm %></td>
            </tr>
            <tr>
                <td style="height: 21px; width:136px;">
                     产品经理：</td>
                <td align="left" style="width: 347px; ">
                    <%= work.Pd %></td>
            </tr>
            <tr>
                <td style="width: 136px">
                     开发成员：</td>
                <td align="left" style="width: 347px">
                    <%= work.Dev %></td>
            </tr>
            <tr>
                <td style="width: 136px">
                     测试成员：</td>
                <td align="left" style="width: 347px">
                    <%= work.Qa%></td>
            </tr>
            <tr>
                <td style="width:136px;">
                    运营/市场人员：</td>
                <td align="left" style="width: 347px; ">
                    <%= work.Market%></td>
            </tr>
            <tr>
                <td style="width:136px; height: 1px;">
                </td>
                <td align="left" style="width:347px; height: 1px;">
                    &nbsp;<asp:Button ID="Button1" runat="server" Text="修改" OnClick="Button1_Click"  /></td>
            </tr>
        </table>
        <asp:HiddenField ID="HiddenWorkId" runat="server" />
      
      
        </td>
  </tr>
  </table>
    </form>
  </div>
</body>
</html>
